﻿<ResourceDictionary xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
  xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
  xmlns:dataControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit" 
  xmlns:activity="clr-namespace:System.Windows.Controls;assembly=ActivityControl"
  xmlns:loginWindow="clr-namespace:HotSpot.Silverlight.LoginUI"
  xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:ic="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions">

    <ControlTemplate x:Key="MenuLinkTemplate" TargetType="HyperlinkButton">
        <Grid Margin="10">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualStateGroup.Transitions>
                        <VisualTransition GeneratedDuration="00:00:00.2000000"/>
                        <VisualTransition From="MouseOver" GeneratedDuration="00:00:00.3000000" To="Normal"/>
                    </VisualStateGroup.Transitions>
                    <VisualState x:Name="Pressed"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
                                <EasingColorKeyFrame KeyTime="00:00:00" Value="#FFFAA057"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1.3"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1.3"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1.3"/>
                                <EasingDoubleKeyFrame KeyTime="00:00:00.4000000" Value="-1.2999999523162842"/>
                                <EasingDoubleKeyFrame KeyTime="00:00:00.8000000" Value="1.2999999523162842"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1.3"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                    <VisualState x:Name="Normal"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="FocusStates">
                    <VisualState x:Name="Focused"/>
                    <VisualState x:Name="Unfocused"/>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>


            <Ellipse x:Name="ellipse" Width="50" Height="50" Opacity="0" RenderTransformOrigin="0.5,0.5">
                <Ellipse.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Ellipse.RenderTransform>
                <Ellipse.Fill>
                    <RadialGradientBrush RadiusX="0.71044" RadiusY="0.710441" Center="0.619633,0.251533" GradientOrigin="0.619633,0.251533">
                        <RadialGradientBrush.RelativeTransform>
                            <TransformGroup>
                                <RotateTransform CenterX="0.619633" CenterY="0.251533" Angle="126.573"/>
                            </TransformGroup>
                        </RadialGradientBrush.RelativeTransform>
                    	<GradientStop Color="#B37C736B" Offset="0"/>
                    	<GradientStop Color="#B35C534C" Offset="0.44186"/>
                    	<GradientStop Color="#B33C332E" Offset="1"/>
                    </RadialGradientBrush>
                </Ellipse.Fill>
            </Ellipse>
            <TextBlock x:Name="textBlock" HorizontalAlignment="Center" FontSize="16" VerticalAlignment="Center" Text="{TemplateBinding Content}" TextWrapping="Wrap" Opacity="100" RenderTransformOrigin="0.5,0.5" Foreground="#FFDEDFE0">
		<TextBlock.RenderTransform>
			<TransformGroup>
				<ScaleTransform/>
				<SkewTransform/>
				<RotateTransform/>
				<TranslateTransform/>
			</TransformGroup>
		</TextBlock.RenderTransform>
            </TextBlock>
        </Grid>
    </ControlTemplate>



    <Style x:Key="Ribbons" TargetType="dataInput:Label">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataInput:Label">
                    <Canvas  Width="390" Height="70">
                        <Path Width="11.4109" Height="11.411" Canvas.Left="6.02838" Canvas.Top="34.8033" Stretch="Fill" Data="F1 M 6.70618,43.2036C 8.19455,45.9804 11.6519,47.0248 14.4287,45.5364C 17.2054,44.0482 18.2498,40.5906 16.7615,37.814C 15.2732,35.0372 11.8157,33.9928 9.03903,35.4811C 6.26227,36.9695 5.21786,40.4269 6.70618,43.2036 Z ">
                            <Path.Fill>
                                <RadialGradientBrush RadiusX="1.14206" RadiusY="1.14205" Center="-0.0710293,0.500004" GradientOrigin="-0.0710293,0.500004">
                                    <RadialGradientBrush.RelativeTransform>
                                        <TransformGroup/>
                                    </RadialGradientBrush.RelativeTransform>
                                	<GradientStop Color="#FFD55801" Offset="0"/>
                                	<GradientStop Color="#FFF89855" Offset="1"/>
                                </RadialGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path Width="15.6933" Height="15.6933" Canvas.Left="22.1441" Canvas.Top="40.2812" Stretch="Fill" Data="F1 M 23.0763,51.834C 25.1232,55.6529 29.8781,57.0893 33.697,55.0423C 37.5157,52.9955 38.9521,48.2404 36.9052,44.4217C 34.8584,40.6029 30.1033,39.1665 26.2845,41.2134C 22.4657,43.2603 21.0294,48.0152 23.0763,51.834 Z ">
                            <Path.Fill>
                                <RadialGradientBrush RadiusX="1.14206" RadiusY="1.14205" Center="-0.0710302,0.499999" GradientOrigin="-0.0710302,0.499999">
                                    <RadialGradientBrush.RelativeTransform>
                                        <TransformGroup/>
                                    </RadialGradientBrush.RelativeTransform>
                                	<GradientStop Color="#FFD55801" Offset="0"/>
                                	<GradientStop Color="#FFF89855" Offset="1"/>
                                </RadialGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path Width="8.85202" Height="8.85201" Canvas.Left="0.628779" Canvas.Top="20.1533" Stretch="Fill" Data="F1 M 1.1546,26.6698C 2.30917,28.8239 4.99127,29.634 7.14532,28.4795C 9.29932,27.325 10.1096,24.6428 8.95502,22.4888C 7.80048,20.3347 5.11829,19.5245 2.96429,20.6791C 0.810242,21.8337 0,24.5157 1.1546,26.6698 Z ">
                            <Path.Fill>
                                <RadialGradientBrush RadiusX="1.14206" RadiusY="1.14206" Center="-0.0710322,0.500007" GradientOrigin="-0.0710322,0.500007">
                                    <RadialGradientBrush.RelativeTransform>
                                        <TransformGroup/>
                                    </RadialGradientBrush.RelativeTransform>
                                	<GradientStop Color="#FFD55801" Offset="0"/>
                                	<GradientStop Color="#FFF89855" Offset="1"/>
                                </RadialGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path Width="6.79954" Height="6.79954" Canvas.Left="7.86624" Canvas.Top="7.37378" Stretch="Fill" Data="F1 M 8.27014,12.3793C 9.15704,14.0339 11.2172,14.6563 12.8718,13.7694C 14.5264,12.8826 15.1488,10.8223 14.2619,9.16772C 13.3751,7.51318 11.3148,6.89081 9.66022,7.77765C 8.00562,8.66455 7.38327,10.7247 8.27014,12.3793 Z ">
                            <Path.Fill>
                                <RadialGradientBrush RadiusX="1.14206" RadiusY="1.14205" Center="-0.0710304,0.500002" GradientOrigin="-0.0710304,0.500002">
                                    <RadialGradientBrush.RelativeTransform>
                                        <TransformGroup/>
                                    </RadialGradientBrush.RelativeTransform>
                                	<GradientStop Color="#FFD55801" Offset="0"/>
                                	<GradientStop Color="#FFF89855" Offset="1"/>
                                </RadialGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path Width="4.03237" Height="4.03239" Canvas.Left="20.2303" Canvas.Top="0.286358" Stretch="Fill" Data="F1 M 20.4698,3.25488C 20.9957,4.23608 22.2175,4.60516 23.1987,4.07922C 24.18,3.55328 24.549,2.33148 24.0231,1.35022C 23.4972,0.369019 22.2754,-6.10352e-005 21.2942,0.525879C 20.3129,1.05182 19.9438,2.27356 20.4698,3.25488 Z ">
                            <Path.Fill>
                                <RadialGradientBrush RadiusX="1.14206" RadiusY="1.14204" Center="-0.0710304,0.5" GradientOrigin="-0.0710304,0.5">
                                    <RadialGradientBrush.RelativeTransform>
                                        <TransformGroup/>
                                    </RadialGradientBrush.RelativeTransform>
                                	<GradientStop Color="#FFD55801" Offset="0"/>
                                	<GradientStop Color="#FFF89855" Offset="1"/>
                                </RadialGradientBrush>
                            </Path.Fill>
                        </Path>

                        <Path Width="9.92018" Height="9.92047" Canvas.Left="31.2718" Canvas.Top="36.6018" Stretch="Fill" Fill="#34F8B688" Data="F1 M 17.6424,21.1661C 15.0173,21.9456 12.2564,20.447 11.4779,17.8231C 10.6989,15.1968 12.1953,12.4364 14.8215,11.658C 17.4472,10.879 20.207,12.3754 20.986,15.0016C 21.7644,17.6261 20.2686,20.3876 17.6424,21.1661 Z "/>
                        <Path Width="8.03865" Height="8.0386" Canvas.Left="32.2125" Canvas.Top="37.5427" Stretch="Fill" Fill="#48F8B688" Data="F1 M 17.3749,20.2641C 15.248,20.8958 13.011,19.6821 12.3792,17.5546C 11.7487,15.4277 12.9618,13.1907 15.0887,12.5596C 17.2168,11.9285 19.4532,13.1422 20.0837,15.2685C 20.7161,17.3966 19.5023,19.633 17.3749,20.2641 Z "/>
                        <Path Width="6.0544" Height="6.05496" Canvas.Left="33.205" Canvas.Top="38.5347" Stretch="Fill" Fill="#67F8B688" Data="F1 M 17.0933,19.3139C 15.4904,19.7894 13.8066,18.8756 13.3306,17.2727C 12.8557,15.671 13.7689,13.986 15.3718,13.5106C 16.9729,13.0351 18.6579,13.9489 19.1333,15.5506C 19.6094,17.1541 18.6956,18.8379 17.0933,19.3139 Z "/>
                        <Path Width="4.90064" Height="4.9012" Canvas.Left="33.7817" Canvas.Top="39.1114" Stretch="Fill" Fill="#67F8B688" Data="F1 M 16.929,18.7607C 15.6315,19.1458 14.268,18.4056 13.8836,17.1086C 13.4986,15.8117 14.2381,14.4477 15.535,14.0633C 16.832,13.6782 18.1954,14.4183 18.5804,15.7147C 18.9655,17.0129 18.226,18.3757 16.929,18.7607 Z "/>
                        <Path Width="3.17151" Height="3.17128" Canvas.Left="34.6463" Canvas.Top="39.976" Stretch="Fill" Fill="#B3F8B688" Data="F1 M 16.6828,17.9313C 15.8433,18.1804 14.9613,17.7025 14.7122,16.8624C 14.4631,16.0236 14.9415,15.1404 15.781,14.8918C 16.6199,14.6428 17.5031,15.1218 17.7522,15.9607C 18.0007,16.8008 17.5211,17.6822 16.6828,17.9313 Z "/>
                        <Path Width="16.6078" Height="5.41718" Canvas.Left="36.169" Canvas.Top="36.6526" Stretch="Fill" Fill="#FFF8B688" Data="F1 M 32.7768,11.5026L 16.169,15.5103L 16.587,16.9197L 32.7768,11.5026 Z "/>
                        <Path Width="5.41656" Height="16.6066" Canvas.Left="31.5675" Canvas.Top="25.15" Stretch="Fill" Fill="#FFF8B688" Data="F1 M 11.5675,0L 15.5733,16.6066L 16.984,16.1887L 11.5675,0 Z "/>
                        <Path Width="16.6072" Height="5.41779" Canvas.Left="20" Canvas.Top="40.7267" Stretch="Fill" Fill="#FFF8B688" Data="F1 M 0,20.9944L 16.6072,16.988L 16.1886,15.5767L 0,20.9944 Z "/>
                        <Path Width="5.4166" Height="16.606" Canvas.Left="35.6866" Canvas.Top="41.4597" Stretch="Fill" Fill="#FFF8B688" Data="F1 M 21.1032,32.9157L 17.0968,16.3097L 15.6866,16.7271L 21.1032,32.9157 Z "/>

                        <Path Width="203.577" Height="58.3689" Canvas.Left="17.4677" Canvas.Top="7.3514" Stretch="Fill" Fill="#FF544F49" Data="F1 M -3.05176e-005,61.0132C 67.0787,0 92.3719,93.159 203.577,97.0847C 83.8851,110.235 40.3278,39.1062 -3.05176e-005,61.0132 Z "/>
                        <Path Width="337.936" Height="64.0464" Canvas.Left="50.6500" Canvas.Top="0.4357" Stretch="Fill" Fill="#FF77746F" Data="F1 M 33.1949,37.4561C 129.827,12.5295 114.171,112.471 371.131,92.399C 99.9754,119.617 104.28,28.2266 33.1949,37.4561 Z "/>

                    </Canvas>

                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


    <Style x:Key="StripGlobe" TargetType="dataInput:Label">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataInput:Label">
                    <Canvas Width="26.0677" Height="25.9075" >
                        <Path Width="25.4858" Height="8.67482" Canvas.Left="0" Canvas.Top="13.0765" Stretch="Fill" Fill="#FFF47225" Data="F1 M 0.144531,14.4291C 0.285095,15.2319 0.31189,15.3246 0.652954,16.4752L 0.652954,16.4752C 0.774475,16.8201 0.961121,17.2727 1.09833,17.6117L 1.09833,17.6117C 3.69727,19.3152 19.3203,24.9986 23.5593,19.2165L 23.9601,18.5369C 24.2277,18.0009 24.5573,17.2683 24.7827,16.7118L 24.7827,16.7118C 25.037,15.999 25.0467,15.949 25.3317,14.6678L 25.3317,14.6678C 25.3778,14.4056 25.4176,14.074 25.4538,13.778L 25.4538,13.778C 24.6804,18.6215 14.4337,19.5065 6.10352e-005,13.0765L 6.10352e-005,13.0765C 0.0286865,13.4825 0.0958252,14.0243 0.144531,14.4291 Z M 25.4538,13.778C 25.4673,13.6945 25.478,13.6091 25.4858,13.5232L 25.4858,13.5232C 25.4757,13.6031 25.465,13.689 25.4538,13.778 Z "/>
                        <Path Width="17.6831" Height="4.63793" Canvas.Left="2.84375" Canvas.Top="20.4496" Stretch="Fill" Fill="#FFDA5000" Data="F1 M 4.68176,22.2916C 4.87805,22.453 4.88611,22.4574 5.26569,22.7404L 5.26569,22.7404C 5.44843,22.8737 5.44843,22.8737 5.78369,23.0986L 5.91437,23.1819C 6.69275,23.6653 10.718,25.5067 14.8044,25.0002L 14.8044,25.0002C 15.1123,24.9486 15.5192,24.858 15.8235,24.7924L 15.8235,24.7924C 16.6018,24.5941 16.6948,24.5574 17.818,24.124L 17.818,24.124C 18.517,23.8178 18.5597,23.7923 19.658,23.1472L 19.658,23.1472C 19.9255,22.9755 20.2665,22.7232 20.5269,22.5384L 20.5269,22.5384C 15.5385,25.9076 4.39233,21.6039 2.84375,20.4496L 2.84375,20.4496C 3.59314,21.3688 4.24786,21.9254 4.68176,22.2916 Z "/>
                        <Path Width="15.9245" Height="5.77131" Canvas.Left="5.34094" Canvas.Top="0" Stretch="Fill" Fill="#FFFE9E5C" Data="F1 M 7.68762,0.660522C 6.98975,0.967163 6.94702,0.992188 5.8493,1.63776L 5.34094,1.98218C 5.35785,1.98633 5.41223,2.0116 5.539,2.07117L 5.539,2.07117C 6.66772,2.60846 10.6464,4.43146 14.3944,5.28064L 14.3944,5.28064C 17.0524,5.88556 19.313,5.93427 20.4415,5.41022L 20.4415,5.41022C 22.3165,4.54102 20.6765,2.38513 18.6614,1.62604L 18.6614,1.62604C 18.7388,1.70496 18.9444,1.91138 18.9814,2.12146L 18.9814,2.12146C 19.2916,3.83429 11.5596,1.32904 9.64313,0.00012207L 9.64313,0.00012207C 8.89526,0.192993 8.82806,0.219604 7.68762,0.660522 Z "/>
                        <Path Width="24.7078" Height="11.6504" Canvas.Left="0.423828" Canvas.Top="1.98425" Stretch="Fill" Fill="#FFF68C43" Data="F1 M 22.8156,4.82996C 24.2837,7.44666 22.5687,8.97028 18.228,8.90704L 18.228,8.90704C 12.6675,8.82373 6.04193,5.95923 3.54895,4.88025L 3.54895,4.88025C 2.86871,4.58765 2.86871,4.58765 2.67999,4.53375L 2.67999,4.53375C 2.32336,5.03278 1.87433,5.71613 1.55829,6.24243L 1.55829,6.24243C 1.1889,6.91901 1.16968,6.96851 0.680237,8.2193L 0.423828,9.05151C 0.558716,9.08221 0.558716,9.08221 1.18085,9.34045L 1.18085,9.34045C 4.14008,10.564 11.9938,13.8121 19.3453,13.6271L 19.3453,13.6271C 22.5229,13.5482 26.0676,12.5826 24.9059,8.43872L 24.9059,8.43872C 24.6169,7.58905 24.544,7.44092 24.0775,6.46582L 24.0775,6.46582C 23.6418,5.63361 23.193,5.02106 22.8309,4.5293L 22.8309,4.5293C 21.9752,3.45477 21.3687,2.94012 20.8351,2.48767L 20.8351,2.48767C 20.5903,2.28882 20.3184,2.11908 20.0198,1.98425L 20.0198,1.98425C 21.1893,2.73004 22.234,3.7937 22.8156,4.82996 Z "/>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>



    <Style x:Key="Bullet" TargetType="dataInput:Label">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataInput:Label">
                    <Canvas Width="7" Height="7">
                        <Path Width="6.79956" Height="6.79956" Stretch="Fill" Data="F1 M 559.265,721.353C 560.152,723.008 562.212,723.63 563.866,722.743C 565.521,721.856 566.143,719.796 565.256,718.142C 564.37,716.487 562.309,715.865 560.655,716.751C 559,717.638 558.378,719.699 559.265,721.353 Z ">
                            <Path.Fill>
                                <RadialGradientBrush RadiusX="0.545654" RadiusY="0.545654" Center="0.679204,0.377356" GradientOrigin="0.679204,0.377356">
                                    <RadialGradientBrush.RelativeTransform>
                                        <TransformGroup>
                                            <RotateTransform CenterX="0.679204" CenterY="0.377356" Angle="147.381"/>
                                        </TransformGroup>
                                    </RadialGradientBrush.RelativeTransform>
                                	<GradientStop Color="#FFF7AE6E" Offset="0"/>
                                	<GradientStop Color="#FFFC5B17" Offset="1"/>
                                </RadialGradientBrush>
                            </Path.Fill>
                        </Path>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    
    <ControlTemplate x:Key="HSButton" TargetType="HyperlinkButton">
    	<Grid>
    		<VisualStateManager.VisualStateGroups>
    			<VisualStateGroup x:Name="FocusStates">
    				<VisualState x:Name="Focused"/>
    				<VisualState x:Name="Unfocused"/>
    			</VisualStateGroup>
    			<VisualStateGroup x:Name="CommonStates">
    				<VisualStateGroup.Transitions>
    					<VisualTransition GeneratedDuration="00:00:00.3000000"/>
    				</VisualStateGroup.Transitions>
    				<VisualState x:Name="Normal"/>
    				<VisualState x:Name="MouseOver">
    					<Storyboard>
    						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
    							<EasingColorKeyFrame KeyTime="00:00:00" Value="White"/>
    						</ColorAnimationUsingKeyFrames>
    						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
    							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFE96308"/>
    						</ColorAnimationUsingKeyFrames>
    						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
    							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFF88E46"/>
    						</ColorAnimationUsingKeyFrames>
    						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
    							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFF58233"/>
    						</ColorAnimationUsingKeyFrames>
    						<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
    							<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.679"/>
    						</DoubleAnimationUsingKeyFrames>
    						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
    							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFFEA160"/>
    						</ColorAnimationUsingKeyFrames>
    						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
    							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFFEC7A0"/>
    						</ColorAnimationUsingKeyFrames>
    						<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
    							<EasingColorKeyFrame KeyTime="00:00:00" Value="#FFF9B585"/>
    						</ColorAnimationUsingKeyFrames>
    						<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
    							<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.295"/>
    						</DoubleAnimationUsingKeyFrames>
    					</Storyboard>
    				</VisualState>
    				<VisualState x:Name="Pressed"/>
    				<VisualState x:Name="Disabled"/>
    			</VisualStateGroup>
    		</VisualStateManager.VisualStateGroups>					

    		<VisualStateManager.CustomVisualStateManager>
    			<ic:ExtendedVisualStateManager/>
    		</VisualStateManager.CustomVisualStateManager>					

    		<Path x:Name="path" Width="165" Height="30" Stretch="Fill" Data="F1 M 16,0L 159,0C 167.837,0 175,7.16345 175,16L 175,16C 175,24.8365 167.837,32 159,32L 16,32C 7.16344,32 0,24.8365 0,16L 0,16C 0,7.16345 7.16344,0 16,0 Z ">
    			<Path.Fill>
    				<LinearGradientBrush StartPoint="0.533256,0.141678" EndPoint="0.533256,0.97501">
    					<GradientStop Color="#FFDBDDDE" Offset="0"/>
    					<GradientStop Color="#FFBBBCBD" Offset="0.72093"/>
    					<GradientStop Color="#FF9C9C9D" Offset="1"/>
    				</LinearGradientBrush>
    			</Path.Fill>
    		</Path>
    		<Path x:Name="path1" Width="135" Height="14" Margin="0,-12,0,0" Stretch="Fill" Data="F1 M 23.2285,2.55212L 151.771,2.55212C 156.316,2.55212 160,6.23621 160,10.7808L 160,10.7808C 160,15.3252 156.316,19.0093 151.771,19.0093L 23.2285,19.0093C 18.684,19.0093 15,15.3252 15,10.7808L 15,10.7808C 15,6.23621 18.684,2.55212 23.2285,2.55212 Z ">
    			<Path.Fill>
    				<LinearGradientBrush StartPoint="0.530982,0.14111" EndPoint="0.530982,0.901919">
    					<GradientStop Color="#FFEFF0F1" Offset="0"/>
    					<GradientStop Color="#FFE5E6E6" Offset="0.446512"/>
    					<GradientStop Color="#FFDCDCDC" Offset="1"/>
    				</LinearGradientBrush>
    			</Path.Fill>
    		</Path>	
			
			<TextBlock x:Name="textBlock" HorizontalAlignment="Center" FontSize="15" VerticalAlignment="Center" FontWeight="Bold"
			 Text="{TemplateBinding Content}" TextWrapping="Wrap" Opacity="100" Foreground="#FF4D433A"/>		    	
				
			
    	</Grid>
    </ControlTemplate>





</ResourceDictionary>
